package com.yyl.enums;
public enum OperateState {

	Save_Fail(0,"添加失败"),
	Save_SUCCESS(1,"添加成功"),
	Update_Fail(0,"修改失败"),
	Update_SUCCESS(1,"修改成功"),
	Del_Fail(0, "删除失败"), 
	Del_SUCCESS(1, "删除成功");
	
    private int key;

    private String value;

    private OperateState(int key, String value) {
        this.key = key;
        this.value = value;
    }

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

}